package adv7.bank;

import java.util.*;

/**
 * @author oldliu
 * @since 1.0
 */
public class ArrayThread {
    public static void main(String[] args) {
        T t=new T();
        Thread t1=new Thread(t);
        t1.start();
        Thread t2=new Thread(t);
        t2.start();
        Thread t3=new Thread(t);
        t3.start();
        Thread t4=new Thread(t);
        t4.start();
        Thread t5=new Thread(t);
        t5.start();
    }
}
class T implements Runnable{
    private List<String> data=new ArrayList<>();
    public void run() {
        for (int i = 0; i <10000 ; i++) {
            data.add("刘"+i);
        }

    }
}